package com.liugege.make.factory.abstractfactory.login;

public abstract class Login {

    public  String loginName;

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public abstract  void login();

    public  void connection(){
        System.out.println("正在连接...");
    }
    public  void loginOK(){
        System.out.println("登录成功...");
    }

    @Override
    public String toString() {
        return "Login{" +
                "loginName='" + loginName + '\'' +
                '}';
    }
}
